﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LinkErr.aspx.cs" Inherits="WinnerCMS.WebUI.Admin.Soft.LinkErr" %>

<%@ Register Src="../UC_AjaxLoading.ascx" TagName="UC_AjaxLoading" TagPrefix="uc1" %>
<!doctype html>
<html>
<head runat="server">
    <title>软件错误报告</title>
    <meta charset="utf-8" />
    <meta http-equiv="Pragma" content="No-cach" />
    <%: Styles.Render("~/Content/Bootstrap/css") %>
    <%: Scripts.Render("~/Scripts/AdminBase") %>
    
    
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdateProgress ID="UpdateProgress1" runat="server">
        <ProgressTemplate>
            <uc1:UC_AjaxLoading ID="UC_AjaxLoading1" runat="server" />
        </ProgressTemplate>
    </asp:UpdateProgress>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <table id="NavigationPath">
                <tr>
                    <td style="width:50%"><asp:Label ID="lblPath" runat="server" EnableViewState="False"></asp:Label>
                    </td>
                    <td style="width:50%">
                        <asp:LinkButton ID="LinkButton1" runat="server" EnableViewState="False" OnClick="LinkButton1_Click">未处理错误报告</asp:LinkButton>&nbsp;
                        |&nbsp;
                        <asp:LinkButton ID="LinkButton2" runat="server" EnableViewState="False" OnClick="LinkButton2_Click">已处理错误报告</asp:LinkButton>
                    </td>
                </tr>
            </table>
            <asp:GridView ID="GV_List" runat="server" AutoGenerateColumns="False" DataKeyNames="ID"
                GridLines="None" CssClass="table table-bordered table-condensed table-hover"
                OnRowCommand="GV_List_RowCommand" OnRowDataBound="GV_List_RowDataBound">
                <HeaderStyle CssClass="HeaderStyle"></HeaderStyle>
                <Columns>
                    <asp:TemplateField HeaderText="选择">
                        <ItemStyle Width="30px" HorizontalAlign="Center" />
                        <HeaderTemplate><input type="checkbox" name="chk_SelectAll" value="chk_SelectAll" onclick="javascript:SelectAll(this);" /></HeaderTemplate>
                        <ItemTemplate>
                            <asp:CheckBox ID="cbkSelectID" runat="server" />
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField DataField="ID" HeaderText="ID">
                        <ItemStyle Width="40px" HorizontalAlign="Center" />
                    </asp:BoundField>
                    <asp:HyperLinkField HeaderText="软件名称" DataNavigateUrlFields="SoftID,CategoryId" DataNavigateUrlFormatString="Add.aspx?ID={0}&amp;CategoryId={1}"
                        DataTextField="ContentTitle" Target="_blank">
                        <ItemStyle Width="200px" />
                    </asp:HyperLinkField>
                    <asp:BoundField DataField="Name" HeaderText="称呼">
                        <ItemStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="Message" HeaderText="留言内容"></asp:BoundField>
                    <asp:BoundField DataField="UpDateTime" HeaderText="发生时间" DataFormatString="{0:yyyy-MM-dd HH:mm:ss}"
                        HtmlEncode="False">
                        <ItemStyle Width="120px" HorizontalAlign="Center" />
                    </asp:BoundField>
                    <asp:ButtonField CommandName="Complete" HeaderText="处理完毕" DataTextField="Complete">
                        <ItemStyle Width="60px" HorizontalAlign="Center" />
                    </asp:ButtonField>
                    <asp:ButtonField CommandName="DeleteSoftLinkErr" Text="删除">
                        <ItemStyle HorizontalAlign="Center" Width="40px" />
                    </asp:ButtonField>
                </Columns>
            </asp:GridView>
            <div style="width: 100%">
                <asp:Button ID="btnComplete" runat="server" OnClick="btnComplete_Click" Text="处理完毕"
                    Cssclass="btn btn-default" />
                &nbsp;
                <asp:Button ID="btnDelete" runat="server" OnClick="btnDelete_Click" Text="删除选中" CssClass="btn btn-danger" /></div>

                <WinnerCMS:PageNavigation ID="PageNavigation1" runat="server" OnPageChanging="PageNavigation1_PageChanging">
                </WinnerCMS:PageNavigation>

        </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>
